package org.zfes.snowier.cloud.zbss.cms.content.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsContent extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsContent() {}
	public CmsContent(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	@javax.validation.constraints.NotNull(message="栏目ID不能为空")
	  private java.lang.Long resourceColumnId;
 
	  private java.lang.Long contentTypeId;
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="内容标题长度不能大于255")
	  private java.lang.String title;
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="短标题长度不能大于255")
	  private java.lang.String shortTitle;
	 @org.hibernate.validator.constraints.Length(min=0,max=1000,message="摘要长度不能大于1,000")
	  private java.lang.String summary;
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="外部链接地址长度不能大于255")
	  private java.lang.String linkUrl;
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="作者长度不能大于100")
	  private java.lang.String author;
	 @org.hibernate.validator.constraints.Length(min=0,max=60,message="责任编辑长度不能大于60")
	  private java.lang.String editor;
	  private java.util.Date publishTime;
	  private java.lang.Long siteId;
	  
		@javax.validation.constraints.NotNull(message="模型ID不能为空")
	 private java.lang.Long modelId;
	 @javax.validation.constraints.Digits(integer=7,fraction=4,message="经度数据精度错误") 
	 private java.lang.Double longitude;
	 @javax.validation.constraints.Digits(integer=7,fraction=4,message="维度数据精度错误")  
	 private java.lang.Double latitude;
	 @org.hibernate.validator.constraints.Length(min=0,max=300,message="所在位置长度不能大于300")
	  private java.lang.String location;
	  private java.lang.Byte istop;
	@javax.validation.constraints.NotNull(message="状态不能为空")
	  private java.lang.Byte status;
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	  private java.util.Date createTime;
	@javax.validation.constraints.NotNull(message="更新时间不能为空")
	  private java.util.Date updateTime;
	 @org.hibernate.validator.constraints.Length(min=0,max=200,message="缩略图(封面)ID，逗号分隔长度不能大于200")
	  private java.lang.String thumbIds;
	 @org.hibernate.validator.constraints.Length(min=0,max=500,message="缩略图(封面)url，逗号分隔长度不能大于500")
	  private java.lang.String thumbUrl;
	  private java.lang.Integer topPosition;
	  private java.lang.Long orginId;
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="来源url长度不能大于255")
	  private java.lang.String orginUrl;
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="来源名称长度不能大于100")
	  private java.lang.String orginName;
	 @org.hibernate.validator.constraints.Length(min=0,max=300,message="描述长度不能大于300")
	  private java.lang.String description;
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="关键词长度不能大于255")
	  private java.lang.String keyWords;
	 @org.hibernate.validator.constraints.Length(min=0,max=255,message="关键词ID组合长度不能大于255")
	  private java.lang.String keyWordsIds;
	  private java.lang.Long tplContentId;
	 @org.hibernate.validator.constraints.Length(min=0,max=100,message="手机内容页模板长度不能大于100")
	  private java.lang.String tplMobileContentId;
	
	  private java.lang.Integer viewCount;
	  private java.lang.Integer favoriteCount;
	  private java.lang.Integer upCount;
	  private java.lang.Integer commentCount;
	  private java.lang.Integer forwardCount;
	  private java.lang.Integer shareCount;
	  private java.lang.Integer downloadCount;
	  
	//<-------------------------------------------->
	public CmsContent setResourceColumnId(java.lang.Long resourceColumnId){
	 this.resourceColumnId=resourceColumnId;
	 return this;
	}
	public java.lang.Long getResourceColumnId(){
		return this.resourceColumnId;
	}
	public CmsContent setContentTypeId(java.lang.Long contentTypeId){
	 this.contentTypeId=contentTypeId;
	 return this;
	}
	public java.lang.Long getContentTypeId(){
		return this.contentTypeId;
	}
	public CmsContent setTitle(java.lang.String title){
		this.title=title==null?null:title.trim();
	 return this;
	}
	public java.lang.String getTitle(){
		return this.title;
	}
	public CmsContent setShortTitle(java.lang.String shortTitle){
		this.shortTitle=shortTitle==null?null:shortTitle.trim();
	 return this;
	}
	public java.lang.String getShortTitle(){
		return this.shortTitle;
	}
	public CmsContent setSummary(java.lang.String summary){
		this.summary=summary==null?null:summary.trim();
	 return this;
	}
	public java.lang.String getSummary(){
		return this.summary;
	}
	public CmsContent setLinkUrl(java.lang.String linkUrl){
		this.linkUrl=linkUrl==null?null:linkUrl.trim();
	 return this;
	}
	public java.lang.String getLinkUrl(){
		return this.linkUrl;
	}
	public CmsContent setAuthor(java.lang.String author){
		this.author=author==null?null:author.trim();
	 return this;
	}
	public java.lang.String getAuthor(){
		return this.author;
	}
	public CmsContent setEditor(java.lang.String editor){
		this.editor=editor==null?null:editor.trim();
	 return this;
	}
	public java.lang.String getEditor(){
		return this.editor;
	}
	public CmsContent setPublishTime(java.util.Date publishTime){
	 this.publishTime=publishTime;
	 return this;
	}
	public java.util.Date getPublishTime(){
		return this.publishTime;
	}
	public CmsContent setSiteId(java.lang.Long siteId){
	 this.siteId=siteId;
	 return this;
	}
	public java.lang.Long getSiteId(){
		return this.siteId;
	}
	public CmsContent setModelId(java.lang.Long modelId){
	 this.modelId=modelId;
	 return this;
	}
	public java.lang.Long getModelId(){
		return this.modelId;
	}
	public CmsContent setLongitude(java.lang.Double longitude){
	 this.longitude=longitude;
	 return this;
	}
	public java.lang.Double getLongitude(){
		return this.longitude;
	}
	public CmsContent setLatitude(java.lang.Double latitude){
	 this.latitude=latitude;
	 return this;
	}
	public java.lang.Double getLatitude(){
		return this.latitude;
	}
	public CmsContent setLocation(java.lang.String location){
		this.location=location==null?null:location.trim();
	 return this;
	}
	public java.lang.String getLocation(){
		return this.location;
	}
	public CmsContent setIstop(java.lang.Byte istop){
	 this.istop=istop;
	 return this;
	}
	public java.lang.Byte getIstop(){
		return this.istop;
	}
	public CmsContent setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsContent setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public CmsContent setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public CmsContent setThumbIds(java.lang.String thumbIds){
		this.thumbIds=thumbIds==null?null:thumbIds.trim();
	 return this;
	}
	public java.lang.String getThumbIds(){
		return this.thumbIds;
	}
	public CmsContent setThumbUrl(java.lang.String thumbUrl){
		this.thumbUrl=thumbUrl==null?null:thumbUrl.trim();
	 return this;
	}
	public java.lang.String getThumbUrl(){
		return this.thumbUrl;
	}
	public CmsContent setTopPosition(java.lang.Integer topPosition){
	 this.topPosition=topPosition;
	 return this;
	}
	public java.lang.Integer getTopPosition(){
		return this.topPosition;
	}
	public CmsContent setOrginId(java.lang.Long orginId){
	 this.orginId=orginId;
	 return this;
	}
	public java.lang.Long getOrginId(){
		return this.orginId;
	}
	public CmsContent setOrginUrl(java.lang.String orginUrl){
		this.orginUrl=orginUrl==null?null:orginUrl.trim();
	 return this;
	}
	public java.lang.String getOrginUrl(){
		return this.orginUrl;
	}
	public CmsContent setOrginName(java.lang.String orginName){
		this.orginName=orginName==null?null:orginName.trim();
	 return this;
	}
	public java.lang.String getOrginName(){
		return this.orginName;
	}
	public CmsContent setDescription(java.lang.String description){
		this.description=description==null?null:description.trim();
	 return this;
	}
	public java.lang.String getDescription(){
		return this.description;
	}
	public CmsContent setKeyWords(java.lang.String keyWords){
		this.keyWords=keyWords==null?null:keyWords.trim();
	 return this;
	}
	public java.lang.String getKeyWords(){
		return this.keyWords;
	}
	public CmsContent setKeyWordsIds(java.lang.String keyWordsIds){
		this.keyWordsIds=keyWordsIds==null?null:keyWordsIds.trim();
	 return this;
	}
	public java.lang.String getKeyWordsIds(){
		return this.keyWordsIds;
	}
	public CmsContent setTplContentId(java.lang.Long tplContentId){
	 this.tplContentId=tplContentId;
	 return this;
	}
	public java.lang.Long getTplContentId(){
		return this.tplContentId;
	}
	public CmsContent setTplMobileContentId(java.lang.String tplMobileContentId){
		this.tplMobileContentId=tplMobileContentId==null?null:tplMobileContentId.trim();
	 return this;
	}
	public java.lang.String getTplMobileContentId(){
		return this.tplMobileContentId;
	}
	public CmsContent setViewCount(java.lang.Integer viewCount){
	 this.viewCount=viewCount;
	 return this;
	}
	public java.lang.Integer getViewCount(){
		return this.viewCount;
	}
	public CmsContent setFavoriteCount(java.lang.Integer favoriteCount){
	 this.favoriteCount=favoriteCount;
	 return this;
	}
	public java.lang.Integer getFavoriteCount(){
		return this.favoriteCount;
	}
	public CmsContent setUpCount(java.lang.Integer upCount){
	 this.upCount=upCount;
	 return this;
	}
	public java.lang.Integer getUpCount(){
		return this.upCount;
	}
	public CmsContent setCommentCount(java.lang.Integer commentCount){
	 this.commentCount=commentCount;
	 return this;
	}
	public java.lang.Integer getCommentCount(){
		return this.commentCount;
	}
	public CmsContent setForwardCount(java.lang.Integer forwardCount){
	 this.forwardCount=forwardCount;
	 return this;
	}
	public java.lang.Integer getForwardCount(){
		return this.forwardCount;
	}
	public CmsContent setShareCount(java.lang.Integer shareCount){
	 this.shareCount=shareCount;
	 return this;
	}
	public java.lang.Integer getShareCount(){
		return this.shareCount;
	}
	public java.lang.Integer getDownloadCount() {
		return downloadCount;
	}
	public CmsContent setDownloadCount(java.lang.Integer downloadCount) {
		this.downloadCount = downloadCount; 
		return this;
	}

}
